

class City {
  String name;
  List<String> area;

  City({this.name, this.area});

  City.fromJson(Map<String, dynamic> json) {
    name = json['name'];
    area = json['area'].cast<String>();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['name'] = this.name;
    data['area'] = this.area;
    return data;
  }
}